package com.qd.common.sys.domain.entity.station;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.cdqidi.util.page.BaseQuery;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @author sjk
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ToString
@JsonIgnoreProperties(value = {"pageNumber", "pageSize", "beginTime", "endTime", "sqlParams", "sysParams", "asc", "desc","orgIds","orgName", "stationCode", "stationName", "personName", "mobile", "idCard"}, allowSetters = true)
public class StationQueryDTO extends BaseQuery {
    /**
     * 机构名字
     */
    @ExcelIgnore
    private String orgName;
    /**
     * 岗位编码
     */
    @ExcelIgnore
    private String stationCode;
    /**
     * 岗位名称
     */
    @ExcelIgnore
    private String stationName;
    /**
     * 人员姓名
     */
    @ExcelIgnore
    private String personName;
    /**
     * 人员手机号
     */
    @ExcelIgnore
    private String mobile;
    /**
     * 人员身份证号
     */
    @ExcelIgnore
    private String idCard;


    @Override
    public void freeData(){
        this.orgName = null;
        this.stationCode = null;
        this.stationName = null;
        this.personName = null;
        this.mobile = null;
        this.idCard = null;
        super.freeData();
    }
}